package priv.dajie.tzzq.spider.model;

import priv.dajie.tzzq.model.QualityName;

public class SteamItemInfo extends ItemInfo {

    private String nameid;

    public SteamItemInfo(String id, String name, String quality, String rarity, String hero, String steamName) {
        super(id, new QualityName(quality, name), rarity, hero, steamName, Platform.STEAM);
    }

    public SteamItemInfo(String id, String name, String quality, String rarity, String hero, String steamName, String nameid) {
        super(id, new QualityName(quality, name), rarity, hero, steamName, Platform.STEAM);
        this.nameid = nameid;
    }

    public String getNameid() {
        return nameid;
    }

    @Override
    public String toString() {
        return "SteamItemInfo{" +
                "nameid='" + nameid + '\'' +
                ", id='" + id + '\'' +
                ", qualityName=" + qualityName +
                ", rarity='" + rarity + '\'' +
                ", hero='" + hero + '\'' +
                ", steamName='" + steamName + '\'' +
                ", platform=" + platform +
                '}';
    }
}
